package com.ruoyi.ufox.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 照片管理对象 bis_device_photo
 * 
 * @author ufoxs
 * @date 2022-08-16
 */
public class BisDevicePhoto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 照片ID */
    private Long photoId;

    /** 模型 */
    @Excel(name = "模型")
    private String modelName;

    /** 颜色 */
    @Excel(name = "颜色")
    private String colorName;

    /** 照片 */
    @Excel(name = "照片")
    private String photo;

    public void setPhotoId(Long photoId) 
    {
        this.photoId = photoId;
    }

    public Long getPhotoId() 
    {
        return photoId;
    }
    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }
    public void setColorName(String colorName) 
    {
        this.colorName = colorName;
    }

    public String getColorName() 
    {
        return colorName;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("photoId", getPhotoId())
            .append("modelName", getModelName())
            .append("colorName", getColorName())
            .append("photo", getPhoto())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
